package com.joysuch.wwyt.risk.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RiskMeasureTypeNode implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    @NonNull
    @ApiModelProperty(value = "管控措施类型名称")
    private String measureTypeName;

    // 排序
    private Integer sort;

    @ApiModelProperty(value = "父类型id")
    private Long parentId;

    private List<RiskMeasureTypeNode> childs = new ArrayList<>();

    private String deleteFlag;

    private boolean existChild;

    private boolean hadBind;
}
